package com.example.blackbox.Data;

import java.io.Serializable;
import java.util.ArrayList;

public class News implements Serializable {
    private String newsTitle;
    private String newsTag;
    private String newsMessage;
    private String newsDate;
    private String imgUrl;
    private String level;
    private String author;
    private String authorHead;
    private String info;
    private ArrayList<String> banner =new ArrayList<>();


    public News(String newsTitle, String newsTag, String newsMessage, String newsDate, String imgUrl, String level, String author, String authorHead, String info, ArrayList<String> banner) {
        this.newsTitle = newsTitle;
        this.newsTag = newsTag;
        this.newsMessage = newsMessage;
        this.newsDate = newsDate;
        this.imgUrl = imgUrl;
        this.level = level;
        this.author = author;
        this.authorHead = authorHead;
        this.info = info;
        this.banner = banner;
    }

    public News(String newsTitle, String newsTag, String newsMessage, String newsDate, String imgUrl, String level, String author, String authorHead, String info) {
        this.newsTitle = newsTitle;
        this.newsTag = newsTag;
        this.newsMessage = newsMessage;
        this.newsDate = newsDate;
        this.imgUrl = imgUrl;
        this.level = level;
        this.author = author;
        this.authorHead = authorHead;
        this.info = info;
    }

    public News() {
    }

    public String getNewsTitle() {
        return newsTitle;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public String getNewsTag() {
        return newsTag;
    }

    public void setNewsTag(String newsTag) {
        this.newsTag = newsTag;
    }

    public String getNewsMessage() {
        return newsMessage;
    }

    public void setNewsMessage(String newsMessage) {
        this.newsMessage = newsMessage;
    }

    public String getNewsDate() {
        return newsDate;
    }

    public void setNewsDate(String newsDate) {
        this.newsDate = newsDate;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public ArrayList<String> getBanner() {
        return banner;
    }

    public void setBanner(ArrayList<String> banner) {
        this.banner = banner;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getAuthorHead() {
        return authorHead;
    }

    public void setAuthorHead(String authorHead) {
        this.authorHead = authorHead;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
